import 'package:get/route_manager.dart';
import 'package:share_fit/app/controllers/main/login/country/country_list_view.dart';
import 'package:share_fit/app/controllers/main/login/country/view.dart';
import 'package:share_fit/app/controllers/main/login/login_view.dart';
import 'package:share_fit/app/controllers/main/login/register/register_info_date_view.dart';
import 'package:share_fit/app/controllers/main/login/register/register_info_gender_view.dart';
import 'package:share_fit/app/controllers/main/login/register/register_info_height_view.dart';
import 'package:share_fit/app/controllers/main/login/register/register_info_name_view.dart';
import 'package:share_fit/app/controllers/main/login/register/register_info_step_view.dart';
import 'package:share_fit/app/controllers/main/login/register/register_info_view.dart';
import 'package:share_fit/app/controllers/main/login/register/register_info_weight_view.dart';
import 'package:share_fit/app/controllers/main/login/register/register_view.dart';
import 'package:share_fit/app/controllers/main/login/reset/reset_view.dart';
import 'package:share_fit/app/controllers/main/login/sms_login_view.dart';

class LoginRoutes {

  static const String loginPage = '/login';

  static List<GetPage> getPages() {
    return routes;
  }

  static final routes = [
    GetPage(
      name: loginPage,
      page: () => LoginPage(),),
    GetPage(
      name: '/login/sms',
      page: () => SMSLoginPage(),),
    GetPage(
      name: '/login/reset',
      page: () => ResetPage(),),
    GetPage(
      name: '/login/register',
      page: () => RegisterPage(),),
    GetPage(
      name: '/login/register/info',
      page: () => RegisterInfoPage(),),
    GetPage(
      name: '/login/register/info/name',
      page: () => RegisterInfoNamePage(),),
    GetPage(
      name: '/login/register/info/gender',
      page: () => RegisterInfoGenderPage(),),
    GetPage(
      name: '/login/register/info/date',
      page: () => RegisterInfoDatePage(),),
    GetPage(
      name: '/login/register/info/height',
      page: () => RegisterInfoHeightPage(),),
    GetPage(
      name: '/login/register/info/weight',
      page: () => RegisterInfoWeightPage(),),
    GetPage(
      name: '/login/register/info/step',
      page: () => RegisterInfoStepPage(),),
    GetPage(
      name: '/login/country',
      page: () => CountryPage(),),
    GetPage(
      name: '/login/country/list',
      page: () => CountryListPage(),),
  ];
}